<?php
/**
 * Created by PhpStorm.
 * User: 户学
 * Date: 2018/4/19
 * Time: 14:21
 */

class Classes extends M_Controller
{
    public function index(){
        $this->db->where("client","PC端");
        $this->db->where("is_del",1);
        $this->db->where("is_ground",1);
        $this->template->assign(array(
            "banners"=>$this->db->where("part","精品小班")->order_by('sort asc')->get("banner_manage")->result_array()
        ));
        $this->template->display("../gw/class.html");
    }

}